<%--
  Created by IntelliJ IDEA.
  User: E73AN
  Date: 2018/6/25
  Time: 0:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>
<h1>${error}</h1>
<form action="${pageContext.request.contextPath}/register" method="post">
    <input type="text" placeholder="号码" name="num"><br>
    <input type="text" placeholder="密码" name="password"><br>
    <input type="text" placeholder="姓名" name="name"><br>
    <label><input type="radio" name="role" value="student">学生</label>
    <label><input type="radio" name="role" value="teacher">教师</label>
    <label><input type="radio" name="role" value="admin">管理员</label><br>
    <input type="submit" value="立马注册">
</form>
</body>
</html>
